package com.ruoyi.graduate.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.graduate.domain.entity.MsCommunityPost;
import com.ruoyi.graduate.domain.vo.MsCommunityPostDetailVo;
import com.ruoyi.graduate.domain.vo.MsCommunityPostPageVo;
import com.ruoyi.graduate.domain.vo.MsCommunityPostUserPageVo;

import java.util.List;

public interface MsCommunityPostMapper extends BaseMapper<MsCommunityPost> {

    List<MsCommunityPostPageVo> pageList(String title);

    MsCommunityPostDetailVo detail(Integer id);

    List<MsCommunityPostUserPageVo> userList();
}
